package com.hqbzl.c1.queues;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.LinkedBlockingDeque;

public class TestLinkBlockQueue {
    public static void main(String[] args) throws InterruptedException {
        final LinkedBlockingDeque<String> deque = new LinkedBlockingDeque<>();
        final ArrayBlockingQueue<String> array = new ArrayBlockingQueue<String>(20);
        array.put("aa");
        array.take();
    }
}
